xenstore: add helper functions for wire argument parsing
authorJuergen Gross <jgross@suse.com>
Mon, 5 Dec 2016 07:48:51 +0000 (08:48 +0100)
committerWei Liu <wei.liu2@citrix.com>
Mon, 5 Dec 2016 11:32:39 +0000 (11:32 +0000)
commit197e26043e639d4ed1060d30f44f101b719a78d4
tree9d76479167eaf87886747492ba82448d07b22ba2
parentc87593106305a681cf7b3fe55d7d0dcc5f95b423
xenstore: add helper functions for wire argument parsing

The xenstore wire command argument parsing of the different commands
is repeating some patterns multiple times. Add some helper functions
to avoid the duplicated code.

Signed-off-by: Juergen Gross <jgross@suse.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/xenstore/xenstored_core.c
tools/xenstore/xenstored_domain.c